package longbottom.XLkprob;

import org.achartengine.model.CategorySeries;
import android.content.Context;

/**
 * @author pumaman
 * Can provide the distribution data required for the graphing tools
 */
public interface CalculatesDistribution {	
	/**
	 * @param context this is required to access the string resources
	 * @return a model representing the probability distribution
	 */
	CategorySeries getDistributionSeries(Context context);
	/**
	 * @param context this is required to access the string resources
	 * @return  a model representing the probability distribution of causing at least that many unsaved wounds (X >= n)
	 */
	CategorySeries getCumulativeDistributionSeries(Context context);
	/**
	 * @return the maximum number of unsaved wounds for the distribution
	 */
	int getMaxCasualties();
}
